// xxx.module.scss  要完全按照命名规范来

.index {
  background-color: #f6f5f6;
}

// 2.0 入口布局
.entry {
  display: flex;
  background-color: #fff;
  padding: 10px 0;
  .entry_item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    .entry_item_img {
      width: 48px;
      margin-bottom: 10px;
    }
  }
}

// 3.0 租房小组模块
.group {
  padding: 0 10px;
  .group_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
  }
  .group_body {
    display: flex;
    flex-wrap: wrap;
    .group_body_item {
      width: 48%;
      background-color: #fff;
      margin-bottom: 10px;
      display: flex;
      padding: 10px;
      &:nth-child(2n + 1) {
        margin-right: 10px;
      }
      .group_body_item_info {
        flex: 1;
      }
      .group_body_item_img {
        width: 55px;
      }
    }
  }
}

// 4.0 最新资讯
.news {
  background-color: #fff;
  padding: 0 10px;
  .news_head {
    height: 60px;
    display: flex;
    align-items: center;
  }
  .news_list {
    .news_item {
      padding: 10px 0;
      display: flex;
      border-bottom: 1px solid #ddd;
      .news_item_img {
        width: 120px;
        height: 90px;
        margin-right: 10px;
      }

      .news_item_info {
        flex: 1;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        h4 {
          // 文字多行超出隐藏
        }

        p {
          display: flex;
          justify-content: space-between;
          span {
            color: #999;
            font-size: 12px;
          }
        }
      }
    }
  }
}
